#include "app_function.h"
#include "user_data.h"
void app_delay(unsigned int dly)
{ 
   while(dly > 0) dly--;
}

void app_enter_iapmode()
{
   
userpara.mpara.iapmode = 1;
     userconfig_writepara();
}
void app_exit_iapmode()
{
     userpara.mpara.iapmode = 0;
     userconfig_writepara();
}

